<template>
  <div>
    <h1>Page02,{{ params.num }}</h1>
  </div>
</template>

<script setup>
import {useRoute} from 'vue-router'
const route = useRoute()
const {params} = route
console.log('page2提取动态路由参数',params);

</script>

<style lang="scss" scoped>

</style>